<?php $this->headTitle('Đăng nhập',Zend_View_Helper_Placeholder_Container_Abstract::PREPEND);?>
<?php 
    $this->layout()->aside = $this->partial('layout.aside.right/account.phtml');
    if(is_null($this->u)):
?>

	<section class="fluid50">
		<div class="content">
			<h2>New Customer</h2>
			<p>
				<b>Register Account</b><br>By creating an account you will be able
				to shop faster, be up to date on an order's status, and keep track
				of the orders you have previously made.
			</p>
			<a href="index-2.html" class="button">Continue</a>
		</div>
	</section>
	<section class="fluid50">
		<div class="content">
			<h2>Login</h2>
			<div class="form-inline">
				<form id='login'
					action='<?php echo $this->baseUrl()."/index/login";?>'
					method="post">
					<p><?php echo $this->notify;?></p>
					<div class="field">
						<label>E-Mail Address:</label> <input type="text" name='email'
							placeholder="Email">
					</div>
					<div class="field">
						<label>Password:</label> <input type="text" name='pw'
							placeholder="Password"> <a href="#">Forgotten Password</a>

					</div>
					<div class="field">
						<input type="submit" style='border: 1px solid #CBCBCB;box-shadow:none;border-radius:2px;'value="Đăng nhập" style="" name="submit" class="button"/>
					</div>
				</form>
			</div>
		</div>
	</section>
<?php 
    else :
?>

        <section>
		<div class="content">
			<h2>Notify</h2>
			<p>
				Bạn cần <a href='<?php echo $this->baseUrl();?>/index/logout' style ='color:#66CCFF;'>đăng xuất</a> tài khoản trước khi đăng nhập tài khoản mới
			</p>
		</div>
	</section>

<?php 
    endif;
?>
